package com.qf.service;

import com.qf.domain.Book;
import com.qf.domain.PageBean;

import java.util.List;

public interface BookService {
    List<Book>findAll();

    void removeBook(int bookId);

    Book findById(int bookId);

    void modify(Book book);

    void addBook(Book book);

    PageBean<Book> findByPage(int page_num, int page_size);

    PageBean<Book> findByPage(int page_num, int page_size, String where, List<Object> params);
}
